//
//  Comment.h
//  fGeekApp
//
//  Created by Administrator on 15/3/7.
//  Copyright (c) 2015年 cwx. All rights reserved.
//+----------------------
//   Comment－商品评论模型类
//+----------------------

#import <Foundation/Foundation.h>

@interface Comment : NSObject

/**
 * 评论id
 */
@property NSUInteger commentID;

/**
 * 商品id
 */
@property NSUInteger goodsID;

/**
 * 用户id
 */
@property NSUInteger userID;

/**
 * 用户名称
 */
@property (copy, nonatomic)NSString *userName;

/**
 * 评论内容
 */
@property (copy, nonatomic)NSString *commentBody;

/**
 * 评论时间
 */
@property NSUInteger commentTime;

/**
 * 获取一个评论实体模型，通过字典转模型
 */
+(Comment *)getCommentInstanceByDict:(NSDictionary *)dict;
-(Comment *)initCommentInstanceByDict:(NSDictionary *)dict;
@end
